]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
accessibility.js: Fix use of non-existent gconf_client_get_value()
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 16 Sep 2010 19:25:23 +0000 (15:25 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 16 Sep 2010 19:35:13 +0000 (15:35 -0400)
gconf_client_get_value() doesn't exist; apparently
gconf_client_get_float() was meant instead.

js/ui/status/accessibility.js

index 4644f9f08f298aec1e445c5bc2fb78d11c2b98d6..292ebdb41b6791bde84794992f2e5ffdf2494a2b 100644 (file)
@@ -213,7 +213,7 @@ ATIndicator.prototype = {
             let active = on_get();
             if (!active)
                 // setting was modified manually, update it
-                first_value = client.get_value(KEY_FONT_DPI);
+                first_value = client.get_float(KEY_FONT_DPI);
             widget.setToggleState(on_get());
         });
         return widget;